@@ -60,7 +60,7 @@ android {
|
||
| 60 | 60 |
zipAlignEnabled false |
| 61 | 61 |
minifyEnabled false |
| 62 | 62 |
shrinkResources false |
| 63 |
- buildConfigField "boolean", "isTestMode", "false" |
|
| 63 |
+ buildConfigField "boolean", "isTestMode", "true" |
|
| 64 | 64 |
signingConfig signingConfigs.releaseConfig |
| 65 | 65 |
} |
| 66 | 66 |
} |
@@ -44,7 +44,7 @@ public class SessionQRCodeActivity extends BaseActivity {
|
||
| 44 | 44 |
} |
| 45 | 45 |
|
| 46 | 46 |
try{
|
| 47 |
- qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode("http://pai.ai/s/"+qrcode+"?lensman_id="+ Preferences.getInstance().getLensManId(),
|
|
| 47 |
+ qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode("http://xfoto.com.cn/s/"+qrcode+"?lensman_id="+ Preferences.getInstance().getLensManId(),
|
|
| 48 | 48 |
DeviceUtils.dip2px(this,280))); |
| 49 | 49 |
}catch (Exception e){
|
| 50 | 50 |
e.printStackTrace(); |
@@ -56,7 +56,7 @@ public class PrinterSettingActivity extends BaseActivity implements PrinterSetti |
||
| 56 | 56 |
return; |
| 57 | 57 |
} |
| 58 | 58 |
try{
|
| 59 |
- qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode("http://pai.ai/s/"+qrcode,
|
|
| 59 |
+ qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode("http://xfoto.com.cn/s/"+qrcode,
|
|
| 60 | 60 |
DeviceUtils.dip2px(this,240))); |
| 61 | 61 |
}catch (Exception e){
|
| 62 | 62 |
e.printStackTrace(); |
@@ -128,7 +128,7 @@ public class PrinterSettingActivity extends BaseActivity implements PrinterSetti |
||
| 128 | 128 |
|
| 129 | 129 |
@OnClick(R.id.btn_print_qr) |
| 130 | 130 |
void printerQR(){
|
| 131 |
- presenter.printQR("http://pai.ai/s/"+qrcode);
|
|
| 131 |
+ presenter.printQR("http://xfoto.com.cn/s/"+qrcode);
|
|
| 132 | 132 |
} |
| 133 | 133 |
|
| 134 | 134 |
@OnClick(R.id.title_bar_back_layout) |
@@ -217,7 +217,7 @@ public class SessionActivity extends BaseActivity implements SessionContract.Vie |
||
| 217 | 217 |
return; |
| 218 | 218 |
} |
| 219 | 219 |
String qrInfo = data.getStringExtra("info");
|
| 220 |
- if(qrInfo.contains("pai.ai/g/")){
|
|
| 220 |
+ if(qrInfo.contains("pai.ai/g/")||qrInfo.contains("xfoto.com.cn/g/")){
|
|
| 221 | 221 |
String groupId = qrInfo.substring(qrInfo.lastIndexOf("/")+1);
|
| 222 | 222 |
presenter.addSessionPhotos2Group(groupId); |
| 223 | 223 |
}else{
|
@@ -5,7 +5,7 @@ buildscript {
|
||
| 5 | 5 |
jcenter() |
| 6 | 6 |
} |
| 7 | 7 |
dependencies {
|
| 8 |
- classpath 'com.android.tools.build:gradle:2.3.1' |
|
| 8 |
+ classpath 'com.android.tools.build:gradle:2.3.2' |
|
| 9 | 9 |
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' |
| 10 | 10 |
// NOTE: Do not place your application dependencies here; they belong |
| 11 | 11 |
// in the individual module build.gradle files |